<#include "/lib/macro-lib.ftl"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<#include "../inc/commonJs.html">
<script src="../../js/calendar.js">
</script>
<script>
<#if ret??>
  alert('${ret}');
</#if>
</script>
<body>
<div align="center" class="easyui-panel" data-options='fit:true,border:false'>
<br>
<table width="80%" class="table_all" align="center" border="0" cellpadding="0"
			cellspacing="0" style="margin-top: 0px">
<form name="frm" method="post" action="zdlist.do">
<tr align="center">
<td class="td_table_1">字典代码：</td><td class="td_table_2"><input type="text" name="fldm2" value="${fldm2!}"></td>
<td class="td_table_1">字典名称：</td><td class="td_table_2"><input type="text" name="flmc2" value="${flmc2!}"></td>
<td class="td_table_1">状态：</td><td class="td_table_2">
<select name="zt2" class="easyui-combobox">
    <option value="1" <#if zt2?? && zt2 == '1'>selected</#if>>启用</option>
   	<option value="0" <#if zt2?? && zt2 == '0'>selected</#if>>禁用</option>
</select>
</td>
</tr>
</form>
</table>
<input type="submit" class="button_70px" value="查询">
<input type="reset" class="button_70px"  value="重置">
&nbsp;
<input type="button" class="button_100px"  value="添加字典类型" onclick="window.location='zdadd.do';">
<table width="80%" class="table_all" align="center" border="0" cellpadding="0"
			cellspacing="0">
<tr align="center">
	<td class="td_list_1">排序</td>
	<td class="td_list_1">字典代码</td>
	<td class="td_list_1">字典名称</td>
	<td class="td_list_1">状态</td>
	<td width="30%" class="td_list_1">操作</td>
</tr>
<#list pager.result as obj >
	<tr align="center">
		<td class="td_list_2">${obj.px}</td>
		<td class="td_list_2">${obj.fldm}</td>
		<td align="left" class="td_list_2">${obj.flmc}</td>
		<td class="td_list_2">${obj.zt}</td>
		<td class="td_list_2">
		<a href="zdmxlist.do?fldm=${obj.fldm}" class="btnDesigner">分类明细</a>
		<a href="zdedit.do?fldm=${obj.fldm}" class="btnEdit">修改</a>
		<a href="#" onclick="if(window.confirm('确定要删除吗')) location='zddel.do?fldm=${obj.fldm}';" class="btnDel">删除</a>&nbsp;&nbsp;
		</td>
	</tr>
</#list>
</table>
<p align="center">
<@pageUtil pager=pager />
</p>
</div>
</body>
</html>
